﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Rison.BusinessFacade.Entity.Biz
{
    public sealed class Infomation
    {
        private long _infoId = 0;
        private int _category = 0;
        private string _subject = string.Empty;
        private string _content = string.Empty;
        private string _imageUrl = string.Empty;//图片上传后的地址
        private bool _isImageNews = false;//是否图片新闻发布的内容

        private int _creator = 0;
        private DateTime _createTime = DateTime.Now;

        public long InfoId
        {
            get { return _infoId; }
            set { _infoId = value; }
        }

        public int Category
        {
            get { return _category; }
            set { _category = value; }
        }

        public string Subject
        {
            get { return _subject; }
            set { _subject = value; }
        }

        public string Content
        {
            get { return _content; }
            set { _content = value; }
        }

        public string ImageUrl
        {
            get { return _imageUrl; }
            set { _imageUrl = value; }
        }

        public bool IsImageNews
        {
            get { return _isImageNews; }
            set { _isImageNews = value; }
        }

        public int Creator
        {
            get { return _creator; }
            set { _creator = value; }
        }

        public DateTime CreateTime
        {
            get { return _createTime; }
            set { _createTime = value; }
        }
    }
}
